package com.cos.blog.services;


import com.cos.blog.core.service.IBaseService;
import com.cos.blog.entity.UserEntity;

public interface IUserService extends IBaseService<UserEntity> {
    //登录
    UserEntity login(String username, String password) throws Exception;
    //注册
    void register(UserEntity userEntity) throws Exception;

    UserEntity byActivationCode(String activationCode) throws Exception;

    void updateHeaderUrl(Integer id, String filePath) throws Exception;
}
